package com.shd.edanpei.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by mc on 2018/6/11.
 */

public class PicBean implements Parcelable {
    /**
     * 绑定的订单id
     */
    private String orderId;
    private int type;

    private String idCardPic;
    private String householdRegister;
//    private String bankPic;
    private String roomCert;
    private String businessCert;
//    private String companyStream;
    private String otherHouseCert;
    private String carCert;
    private String carWarranty;
    private String maritalCert;
    private String creditCert;
    private String supplement;

    public PicBean() {
    }

    protected PicBean(Parcel in) {
        orderId = in.readString();
        type = in.readInt();
        idCardPic = in.readString();
        householdRegister = in.readString();
//        bankPic = in.readString();
        roomCert = in.readString();
        businessCert = in.readString();
//        companyStream = in.readString();
        otherHouseCert = in.readString();
        carCert = in.readString();
        carWarranty = in.readString();
        maritalCert = in.readString();
        creditCert = in.readString();
        supplement = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(orderId);
        dest.writeInt(type);
        dest.writeString(idCardPic);
        dest.writeString(householdRegister);
//        dest.writeString(bankPic);
        dest.writeString(roomCert);
        dest.writeString(businessCert);
//        dest.writeString(companyStream);
        dest.writeString(otherHouseCert);
        dest.writeString(carCert);
        dest.writeString(carWarranty);
        dest.writeString(maritalCert);
        dest.writeString(creditCert);
        dest.writeString(supplement);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<PicBean> CREATOR = new Creator<PicBean>() {
        @Override
        public PicBean createFromParcel(Parcel in) {
            return new PicBean(in);
        }

        @Override
        public PicBean[] newArray(int size) {
            return new PicBean[size];
        }
    };

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIdCardPic() {
        return idCardPic;
    }

    public void setIdCardPic(String idCardPic) {
        this.idCardPic = idCardPic;
    }

    public String getHouseholdRegister() {
        return householdRegister;
    }

    public void setHouseholdRegister(String householdRegister) {
        this.householdRegister = householdRegister;
    }
//
//    public String getBankPic() {
//        return bankPic;
//    }
//
//    public void setBankPic(String bankPic) {
//        this.bankPic = bankPic;
//    }

    public String getRoomCert() {
        return roomCert;
    }

    public void setRoomCert(String roomCert) {
        this.roomCert = roomCert;
    }

    public String getBusinessCert() {
        return businessCert;
    }

    public void setBusinessCert(String businessCert) {
        this.businessCert = businessCert;
    }
//
//    public String getCompanyStream() {
//        return companyStream;
//    }
//
//    public void setCompanyStream(String companyStream) {
//        this.companyStream = companyStream;
//    }

    public String getOtherHouseCert() {
        return otherHouseCert;
    }

    public void setOtherHouseCert(String otherHouseCert) {
        this.otherHouseCert = otherHouseCert;
    }

    public String getCarCert() {
        return carCert;
    }

    public void setCarCert(String carCert) {
        this.carCert = carCert;
    }

    public String getCarWarranty() {
        return carWarranty;
    }

    public void setCarWarranty(String carWarranty) {
        this.carWarranty = carWarranty;
    }

    public String getMaritalCert() {
        return maritalCert;
    }

    public void setMaritalCert(String maritalCert) {
        this.maritalCert = maritalCert;
    }

    public String getCreditCert() {
        return creditCert;
    }

    public void setCreditCert(String creditCert) {
        this.creditCert = creditCert;
    }

    public String getSupplement() {
        return supplement;
    }

    public void setSupplement(String supplement) {
        this.supplement = supplement;
    }

    public static Creator<PicBean> getCREATOR() {
        return CREATOR;
    }
}
